package Job04;

import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        Addition addition = new Addition();
        System.out.println("请输入整型1:");
        int n1 = input.nextInt();
        System.out.println("请输入整形2:");
        int n2 = input.nextInt();
        addition.ZX(n1,n2);
        System.out.println("请输入长整型1:");
        long c1 = input.nextLong();
        System.out.println("请输入长整型2:");
        long c2 = input.nextLong();
        addition.CZX(c1,c2);
        System.out.println("请输入浮点型1:");
        float f1 = input.nextFloat();
        System.out.println("请输入浮点型2:");
        float f2 = input.nextFloat();
        addition.FDX(f1,f2);
        System.out.println("请输入双精度浮点型1:");
        double s1 = input.nextDouble();
        System.out.println("请输入双精度浮点型2:");
        double s2 = input.nextDouble();
        addition.SFDX(s1,s2);
        System.out.println("请输入字符串1:");
        String z1 = input.next();
        System.out.println("请输入字符串2:");
        String z2 = input.next();
        addition.ZFC(z1,z2);
    }
}
